﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VoucherList.aspx.cs" Inherits="GRLMS.CaiWu.VoucherMgr.VoucherList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
       <link href="../../lib/ligerUI/skins/Aqua/css/ligerui-all.css" rel="stylesheet" type="text/css" />
    <link href="../../themes/gray/skin.css" rel="stylesheet" type="text/css" />
    <script src="../../lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="../../lib/ligerUI/js/core/base.js" type="text/javascript"></script>
    <script src="../../lib/ligerUI/js/plugins/ligerGrid.js" type="text/javascript"></script> 
     <script src="../../lib/ligerUI/js/plugins/ligerMenu.js" type="text/javascript"></script>
    <script src="../../lib/ligerUI/js/plugins/ligerMenuBar.js" type="text/javascript"></script>
    <script src="../../lib/ligerUI/js/plugins/ligerToolBar.js" type="text/javascript"></script>
    
    <script src="../../lib/ligerUI/js/plugins/ligerDrag.js" type="text/javascript"></script>
    <script src="../../lib/ligerUI/js/plugins/ligerDialog.js" type="text/javascript"></script>
    <script src="../../lib/ligerUI/js/plugins/ligerResizable.js" type="text/javascript"></script>
    
    <script type="text/javascript">
      function toAdd()
      {
      
         $.ligerDialog.open({ title:'新增凭证',height: 650, url: 'VoucherAdd.aspx', width: 800, showMax: true, showToggle: true, showMin: true, isResize: true, slide: false });
      }
      
      function toDelete()
      {
       alert("执行凭证删除操作。");
      }
      
      function toAudit()
      {
        alert("执行凭证审核操作。");
      }
      
      function toUnAudit()
      {
        alert("执行凭证反审核操作。");
      }
    
    
     function itemclick(item)
        {
             $.ligerDialog.open({ title:'凭证录入',height: 650, url: 'VoucherAdd.aspx', width: 800, showMax: true, showToggle: true, showMin: true, isResize: true, slide: false });
        }
        
          function itemclick2(item)
        {
             $.ligerDialog.open({ title:'费用报销凭证录入',height: 650, url: 'VoucherFYAdd.aspx', width: 800, showMax: true, showToggle: true, showMin: true, isResize: true, slide: false });
        }
        
        $(function ()
        {

            $("#toptoolbar").ligerToolBar({ items: [
                { text: '凭证录入', click: itemclick },
                { line:true },
                { text: '费用报销凭证录入', click: itemclick2 }
               
            ]
            });
        });
    </script>
    
    <style  type="text/css">
       .table-voucher { border:1px solid #666; margin:10px 0; table-layout: fixed; word-wrap: break-all;}
	.table-voucher th { border:1px solid #666; text-align: center; }
	.table-voucher td { border:1px solid #666; vertical-align:middle; }
	.v-head { background:url(../images/bg-voucher-head.jpg) 100% 50% no-repeat;}
	.v-body { background:url(../images/bg-voucher-body.jpg) 100% 0 repeat-y;  letter-spacing:7px; }
</style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="toptoolbar"></div>
    <div style="padding:6px;">
        <div id="search">
        业务日期：<asp:TextBox ID="txt_StartDate" Width="70px" runat="server" onfocus="setday(this)"></asp:TextBox>
        &nbsp;至&nbsp;
        <asp:TextBox ID="txt_EndDate" Width="70px" runat="server" onfocus="setday(this)"></asp:TextBox>
        &nbsp;&nbsp;&nbsp;&nbsp; 状态：<asp:DropDownList ID="DDL_Status" runat="server">
            <asp:ListItem Value="-1">--请选择--</asp:ListItem>
            <asp:ListItem Value="1">录入</asp:ListItem>
            <asp:ListItem Value="2">审核</asp:ListItem>
            <asp:ListItem Value="3">过账</asp:ListItem>
            <asp:ListItem Value="4">结账</asp:ListItem>
        </asp:DropDownList>
        &nbsp;&nbsp;&nbsp;&nbsp; 操作人员：<asp:DropDownList ID="DDL_OperMan" runat="server" Width="100px">
            <asp:ListItem Value="-1">--请选择--</asp:ListItem>
            <asp:ListItem Value="1">制单人</asp:ListItem>
            <asp:ListItem Value="2">经办人</asp:ListItem>
            <asp:ListItem Value="3">出纳</asp:ListItem>
            <asp:ListItem Value="4">记账</asp:ListItem>
            <asp:ListItem Value="5">主管</asp:ListItem>
            <asp:ListItem Value="6">复核</asp:ListItem>
            <asp:ListItem Value="7">审核</asp:ListItem>
        </asp:DropDownList>
        <asp:TextBox ID="txt_OperMan" runat="server" Width="80px"></asp:TextBox>
        <br />
        <br />
        会计期间：<asp:DropDownList ID="DDL_BeginYear" runat="server" Width="52px">
        </asp:DropDownList>
        年 &nbsp;<asp:DropDownList ID="DDL_BeginTerm" runat="server" Width="39px">
            <asp:ListItem Value="1">1</asp:ListItem>
            <asp:ListItem Value="2">2</asp:ListItem>
            <asp:ListItem Value="3">3</asp:ListItem>
            <asp:ListItem Value="4">4</asp:ListItem>
            <asp:ListItem Value="5">5</asp:ListItem>
            <asp:ListItem Value="6">6</asp:ListItem>
            <asp:ListItem Value="7">7</asp:ListItem>
            <asp:ListItem Value="8">8</asp:ListItem>
            <asp:ListItem Value="9">9</asp:ListItem>
            <asp:ListItem Value="10">10</asp:ListItem>
            <asp:ListItem Value="11">11</asp:ListItem>
            <asp:ListItem Value="12">12</asp:ListItem>
        </asp:DropDownList>
        期 &nbsp;&nbsp;&nbsp;至&nbsp;&nbsp;&nbsp;
        <asp:DropDownList ID="DDL_EndYear" runat="server" Width="52px">
        </asp:DropDownList>
        年 &nbsp;<asp:DropDownList ID="DDL_EndTerm" runat="server" Width="39px">
            <asp:ListItem Value="1">1</asp:ListItem>
            <asp:ListItem Value="2">2</asp:ListItem>
            <asp:ListItem Value="3">3</asp:ListItem>
            <asp:ListItem Value="4">4</asp:ListItem>
            <asp:ListItem Value="5">5</asp:ListItem>
            <asp:ListItem Value="6">6</asp:ListItem>
            <asp:ListItem Value="7">7</asp:ListItem>
            <asp:ListItem Value="8">8</asp:ListItem>
            <asp:ListItem Value="9">9</asp:ListItem>
            <asp:ListItem Value="10">10</asp:ListItem>
            <asp:ListItem Value="11">11</asp:ListItem>
            <asp:ListItem Value="12">12</asp:ListItem>
        </asp:DropDownList>
        期 &nbsp;&nbsp; 凭证字号：<asp:DropDownList ID="DDL_Vcodez" runat="server" Width="100px">
            <asp:ListItem Value="">--请选择--</asp:ListItem>
            <asp:ListItem Value="记">记</asp:ListItem>
            <asp:ListItem Value="付">付</asp:ListItem>
            <asp:ListItem Value="收">收</asp:ListItem>
            <asp:ListItem Value="转">转</asp:ListItem>
        </asp:DropDownList>
        <asp:TextBox ID="txt_Vcodeh" runat="server" Width="80px"></asp:TextBox>
         <input type="button" value="查询" style="width: 70px; height:24px;" onclick="toAdd()" class="gr-button" />
            <input type="button" value="重置" style="width: 70px; height:24px;" onclick="toAdd()" class="gr-button" />
    </div>
     <br /><br />
      <input type="button" value="新增" style="width: 70px; height:24px;" onclick="toAdd()" class="gr-button" />
    <input type="button" value="复制" style="width: 70px; height:24px;; display:none;" onclick="toCopy()" class="gr-button" />
    <input type="button" value="编辑" style="width: 70px; height:24px;; display:none;" onclick="toEdit()" class="gr-button" />
    <input type="button" value="删除" style="width: 70px; height:24px;" onclick="toDelete()" class="gr-button" />
    <input type="button" value="审核" style="width: 70px; height:24px;" onclick="toAudit()" class="gr-button" />
    <input type="button" value="反审核" style="width: 70px; height:24px;" onclick="toUnAudit()" class="gr-button" />
    <input type="button" value="打印" style="width: 70px; height:24px; display:none;" onclick="toPrint()" class="gr-button" />
    <input type="button" value="导出" style="width: 70px; height:24px; display:none;" onclick="toExport()" class="gr-button" />
    <br />
    
    <table border="0" style="width:850px;table-layout:fixed" cellpadding="0" cellspacing="0" class="table-list">
                 <tr>
                    <th style="width:7%">选择</th>
                    <th style="width:12%">业务日期</th>
                    <th style="width:12%">凭证字号</th>
                    <th style="width:20%">摘要</th>
                    <th style="width:10%">科目</th>
                 
                    <th style="width:10%">金额</th>
                    <th style="width:10%">借方金额</th>
                    <th style="width:10%">贷方金额</th>
                    <th style="width:9%">状态</th>
                 </tr>
                 <tr style="height:25px;">
                   <td></td>
                   <td></td>
                   <td></td>
                   <td></td>
                   <td></td>
                   <td></td>
                   <td></td>
                   <td></td>
                   <td></td>
                 </tr>
               </table>
               
               
    </div>
    </form>
</body>
</html>
